package com.zh.operation.service.impl;
import com.zh.common.domain.DictDO;
import com.zh.operation.dao.OperationGoodsTakeDao;
import com.zh.operation.domain.OperationGoodsTakeDO;
import com.zh.operation.domain.OperationGoodsTakeDOVO;
import com.zh.operation.service.OperationGoodsTakeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class OperationGoodsTakeServiceImpl implements OperationGoodsTakeService {
	@Autowired
	private OperationGoodsTakeDao operationGoodsTakeDao;
	
	@Override
	public OperationGoodsTakeDO get(String id){
		return operationGoodsTakeDao.get(id);
	}
	
	@Override
	public List<OperationGoodsTakeDO> list(Map<String, Object> map){
		return operationGoodsTakeDao.list(map);
	}

	@Override
	public List<OperationGoodsTakeDOVO> listAllData(Map<String, Object> map) {
		return operationGoodsTakeDao.listAllData(map);
	}

	@Override
	public int count(Map<String, Object> map){
		return operationGoodsTakeDao.count(map);
	}
	
	@Override
	public int save(OperationGoodsTakeDO goodsTake){
		return operationGoodsTakeDao.save(goodsTake);
	}
	
	@Override
	public int update(OperationGoodsTakeDO goodsTake){
		return operationGoodsTakeDao.update(goodsTake);
	}
	
	@Override
	public int remove(String id){
		return operationGoodsTakeDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return operationGoodsTakeDao.batchRemove(ids);
	}

	@Override
	public String getUuid(String id) {
		return operationGoodsTakeDao.getUuid(id);
	}

	@Override
	public List<DictDO> listGoodsStatus() {
		return operationGoodsTakeDao.listGoodsStatus();
	}

	@Override
	public int returnGoods(String id) {
		return operationGoodsTakeDao.returnGoods(id);
	}

}
